//
//  MyPictureTopView.m
//  QT
//
//  Created by 甘世清 on 2024/10/24.
//

#import "MyPictureTopView.h"

@implementation MyPictureTopView

- (void)SQ_UIViewForSelfView{
    
    [self addSubview:self.pictureImageView];
    
    [self.pictureImageView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.edges.equalTo(self);
    }];
}
 
- (UIImageView *)pictureImageView{
    if (!_pictureImageView) {
        _pictureImageView = [[UIImageView alloc]init];
        _pictureImageView.contentMode = UIViewContentModeScaleAspectFill;
        _pictureImageView.clipsToBounds = YES;
        _pictureImageView.layer.cornerRadius = 0;
        _pictureImageView.layer.masksToBounds = YES;
    }
    return _pictureImageView;
}
@end
